complex numbers example and updated wrapper