use $defaults instead of $theme