Added Try/catch statements because Eclipse is a butt