Implement peek

Fix #38