Assignment and refactoring