this is to contain the async method and the updated Image viewer app