update to version 1.1

rewrite step 4. and change variable names