Changed the choose assignment method.