adjusting pixels, and much logging. still wip