is this if statement helping or maybe it's not needed?