use smartfortter in check_and_rest