modify feedbot function