add load from buffer