modified to be took argument as array.
implemented parallel and serial animation.
update a sample.