minor improvements
refactored executable