using maps without committing them