fixed problems. now works. also the examples :D