removed some NMS imports (still needs work)