magic mode not relevent for last problem