added too much from the theme function code, shouldn't be any variables
in there yet