Implemented SETTIMES function.