trying to make loupe work