added 'scaling' to control pts.