on 4 a few buffer-related functions