added test for direct