adding controls and preload options