now only rendering everything on screen, but buggy