added effects and fixed a bug at level4