adjusting utils to be class methods