try another approach..
created object factory