ternary and console created.