reuploading new code

new code yet tested