database basket storage handler