Changed some syntax and removed uneeded line