array size(from,to) constraint added
extend function
method args added