Adding small buffer library