Formatted code
Added assignment updating