fixing code syntaz etc