basic clientside main added