Added check functions for the MAIN activity