function: magnifier and read from mongo