functional, but lacking error handling

functional, but lacking error handling