show controls funtion