create factory method for display mockibk