Adding internal to external state mapping method