removed misplaced utility method
added utility method from api