Create check_space