Check for assignment before use