added multistage