displayMLS function is working