add to_hash, but not user friendly
mod for Travis CI
mod README for Travis CI