added state, pda class