dealing with tabs