removed obsoltete style selection code