rendering component refactoring - comments