added effect system

bug fixing