Made it work for even and odd methods