Initialized encoder, added one line of dashboard code