adding notifications and handling empty attributes