added data.js, js for selection