modified assign methods and loop

scripts are alive muhahahaha