added answer to 2nd question