small changes because of syntax error