Assignment for x

added behavior for x