threads working, but views need some work