Link back to correct pill. Removed unnecessary code. Moved opposite creation to callbacks