What is the error message? Can you provide some test data? Is the error due to the typo in eom_point()?
eom_point()