tested first conditional and it seemed to work well