Coded alternative in memory repository just to see how I could inject a different function to obtain comics into the main function