Added check to console