adds support for peek