Fixed issue with referenced method