minor cleanup hw-3