library exercise