fix syntax error + testing