added constructor through string list and removed the three strings one