added isoceles method