added plenty of functionality - working on MST