updated readme
renamed clear function to clearBuffer