add failing test
handle errors