implement baconjs option