adding trace function