added uploading to swap class