this could go under a helper method