simplifys getting a specific argument from a call

Added a small function to get a specific argument from a call