How do I use the bgread code