add dynamic cleaning step