theming functions added