Added error handling to modules