move combine function into a new file
add cycleTips function