removed superfluous test function