Answers to #16 and #17