testing and implementing <<