latest updates including functions