following along with Ternary screencast