Added borrowed functions