Better default values, and use proper parser function, handle exceptions