Pereira problem solving. (15th June 2020)