deleted most and reorganizing code. initial set up working