added twitter and frame delay