Updated ws example