constants and loop delay