Took a stab at some inline documentation