reminder: need to finish testing DataManager
fix output and sort