Added a missing break, deleted unnecessary commands in example code