fixed data options and added the ability to toggle a class.