additional std functions + tests