added names to inputs