render no longer reset current x, need to comewith new solution