added assignments to variables