Remove console logs, move rt def