interface was not actually having any effect in the script