added optional function
setup travis