Commented out error handling, for debug purposes