Tidied up findStart() function