Added more states and a write view to assignments