only changed some  syntax that returned warnings