How does the deposit work?