Implementation of depot functionality