make tabs dynamic