Working Code. without try/catch/finally