taking out console debug statement