added dpred to inargs