fixed most bugs, and errors. now working