added getop command