do we have any other way of doing this without hardcoded values?