inside first if495