add travis to readme
fix return type documentation