I just factored out the magical string. will check this later