Source code for exchanging items