added todo about bad inputs