Working on optimist example.