Added sweep function for sis (in progress)