add scale feature
change to PIL