removed get() function, removed ls variable, improved formatting