Working app - still needs median optimization and icon