simplified required arguments check