Why is this not needed above?, sorry but it looks like this if else might not be needed?