modified for a test