metrical feet algorithm added