better slmenu functions