work on OnlineReport in model