Quickly added leave query