seperated out utilities from methods