added 2 stage