removed all constants from the main program