added cover image functionality