custom by with sets