implement the logic how to generate and save a requeriment.