Added flow.. Fixed bugs. Removed copy oriign object