trying to remove warnings another way