added more functionality to utils