getting rid of console logging