changed input header names and updated smm