Matters to be considered in determining compensation