added mock upload funcionality