add complex number results and other funcions