added require for caret package