added toggle and pads support
fdf