FIX+COSMITS+ uncomment debug stuff