This is a mess. Back to good ol' EMF project.