Lab3: buflab