this switch statement isn't really necessary, it was just there for flexibility when testing originally. it doesn't hurt for it to stick around either