extracted review input logic into methods