change the values passed between compenents
remove unused variable