added constructor  with handler
added constructor with handler