add tolerance and selector options