added set delay method
added startAnimation method