standard ruby funcs usage added, benchmarked ok