added scaling feature2