added testing codees