My code for Index.js