exercsises 6.1+6.3, various enhancements