add Ag assist
remove unused code