added card image helper method