Function calling Bug Removed