Worked on utility functions.