Removed bad function call