working on dual controller