adding some testing code