added basic support for theming