Initial framework for staff query