shrunk a few funcs
corrected formatting error