added function descriptions + fixed some code highlighting