renamed template to theme