Converted src to ES6