added warnings for unread variables