adding some comments, changing to warnings