screwing up loops and other stuff