cleaned up code in utils for functions not required.