add three function to deal with weighing goods
rename three function name