Relativity code