add comment to console if else