added another constructor