added callbacks to theme functions