finally found a solution I like. Update func_thoughts for reference