oops, renaming $array to $sidebar