add check_long and friends