Removing unused utiltiy functtions