These look like the same lines of code, what is the intended behavior here?