Added the if-statment to original title that I accedently errased