refactored assignments
refactored question