REFACTOR flags params
EDIT cosmetic