tried to make zooming better, but failed