wrapping up format parsing