preparing for upload implmeentation