include delays and repeat for animations