Import function for testing