changing namespacing to use methods for input id and name