Added pentagon and rendering modes