closes #7 handle errors