Adding findShape skeleton and explanation, changing function formats.