replace getBDMState with getState