updated for examples