Adding more smux utils

need to test