S1 integral kinda working