move render to exports object