optimized returnsvalues