use constants as suggested by @marcovtwout