changing incorect docu and fixing variable name