change phantom to take arg