added testing methods