get comfortable with isset and empty, isset can not check if a variable is set to null