removing non-standard function call