pre checks