Implement scheduler pattern