skeleton version for 2nd exercise