Sliced the functions