Added pseudoDB functionality