What are the factors used to determine my retirement allowance?