some changes apparently syntax error fixed