reviewing code, deleted console log