just render classes out instead of null checking since it seems to be slow