code that can be used to check keyword args