Revert "Revert "Fixed turtle reference in main class""

This reverts commit 0924cab4c989b5ee095cb94b3360a7119e49ffd6.