Implemented twice() and thrice().