add check args method