make name attribute work by using permit!