input buffer added