Finished handling all input and pass to KB