added stdfunctions