Added constructor for when no labels are passed