good point. it's probably not necessary to check on the type here at all.