adding checks