refactored code, added process screen