adding button sequence pattern controller framework