add ws sample