Unit 13: Secured transactions (solution)