add check for options.label