changed to inherit from theme.