nit: Can you get rid of the newlines at the beginning of functions?