mask is...31 val is ...49 res is ...17