Feature/es official client

Fix RandomFunction