added prompt for height and width fixed calculations for both