fix bugs I think, still needs testing!! fucking bugs...