creating the broadcast receiver extension, don't understand what is happening here. Need to take another look at it