close #9 add bulk support