shortened result type generation and removed debug information