implementing stop times