added better parametrization
fix syntax error