you can use interpolation here to shorten this up a bit