added new functionality, upload test