validator lifecycle