added two-arg constructor