removed get() function, improved formatting