Syntax error fixed + some documentation