Added a get function to util