Update shared method to process correctly