implemented DBmapper