Pulled out constants so they can be easily modified