added name to inputs