Hmm, this should be moved into mars.c