added error icon and interface for fetching