copied queries to misc/just_links directory