Added a utils method for later use