refactored some programming settings