more customizations, added custom toggle input type