fixes #49 render is now used everywhere