implemented dual controllers