removed unrelated example code