images are still not right but it works