staring summary model and working on queries