add slider for debugging