checking for undefined keys before using them
notifying about missing keys