sadf
Fixed bugs. Now works