use std lib
Merge pull request #2 from nwallace/master

use std lib