moved assignments up