verified and updated exception handling. exceptions should cause a skip and not effect the main loop.