fixed up app state usage. moved voices into class state