agrs passing + pointer, string, buffer check