used on top of mirror-local using mongoose