Added constructor with String