introduced single arg constructor for backwards compatibility