Factor out Utility functions (slide, maxOf)