added toggle data type