made changes to the code. it throws an  error in bacs_client