added testing basis; unit tests still missing