changed main for ian