Changed inbutQueue to inputBuffer