Basic implementation of db entry