refactor seconds block rendering