formatted
formating almost complete; help function added