Added ternary operators and set energy level to 5 to print out to console