Final app - it works perfectly!