fixing incomplete code from Travis.