use standard library function