added (but didn't use) some stdlib funcs