latest attempt at working constants