solved most of the problems and it almost works now