implemented tab switch