test before checking