Copied media from sample code. Completed movement