or run when both x frames and y seconds passed