basic functionality all there, need to fiddle with jquery