clean up comments
various functions now accept sequences