use constants, lint from rick@seismo