corrected syntax error with second console