added option for enabling controls