basic implementation of tabs done