add scale logic - broken