Assignment 0, 1, 2 xcuserstate changes