Uploading Daniel's Code