removed repeated console instruction