added percentage scaling to p1