working mock database query input.