Adding and extra argument for handling relation's name
fixing minor but