added conditions for non-existing birthday and sex 3