First draft of second queries homework