added test procedure