got rid of global program variables