add try for salary amount