need to take into account S operations