question uploading function