small syntax error with brackets fixed