Worker invokes the right method