Working on calculating stops