changed global for theme specific function