removed get() function, fixed showhide(), improved formatting