changed disconinuous variable