Console code take 2