modifying main