Split inner function after commas for readablity