Finished manipulation.js