adding initial checking