refactoring to add continuous integration