update code to func playground