setting up self-attaching controllers