added Testing func