copy more functionality from existing theme