input task mapping almosst done