testing for assignment