modified to send each method to a core