added putBuffer method