added Eddie's follow the line code