branch storage in database implemented