add crash test
select appropriate class