Moved timing constant to main program