set initial selection
remove console.log