control and demo are working