method arguments check implementation