set default from to max
set a flag