added test functionality