- Modifed : Extracts Logan agent method to utils module