cleaner setup of opts for notification