updated client code. added carousel