use stc instead of phaver; time variable is made optional (not needed, makes analysis harder, but good for plotting)