added testing capabilities