work on first part of example