datamapper:intermediate improvement