adding ability to pass arguments for single records