changed tab interface, have the first tab working