step validation