added pad select mode and pads array