uploaded logic version