testing and adaption