Star Trek residuals explained