[CODE]: refactoring options and output