changed data from showResult function test to model