Not sure you need the temp variable