began putting in a new starting algorithm