updates regarding deprecation of function literals