code compiles
typo fix
error corrections