testing new function inside random v1.2