SSTF code done