removed unnecessary obj and value since all we need is to check the arguments