Why not put this after the first if statement?