Ambigious variables, g and m 
Also commented out code