[task] rework builder constructor