added a variable and used interpolation