made is_atomic and is_generic much more performant