sml enhancements