got tabs fully working. code needs to be cleaned up and validation added