tabs functionality added