upload working code