add logo checking