extending lwt_process