@PB____ , nice refactor and explanation of if-else : )