a lot of different things. also tried out api but it does not work. probably the problem is the seperate class. shall try again but in the same file