Making interface name a variable
Fixing typo