factory pattern notes started