moving utility methods
removing redundant method