Adding queries for issues 14 and 15.
Added a query for issue 16.