refactoring result rendering to fit SC