added missed downp2 and upp2 parameters