function call causing some conflict