commit working version with selection exercise