!! Embedded port complete! Removed all mallocs