Also capture function's ID while at it