added more to the enable function