added some testing ability