Refactored utl module