Using factory to handle data