got rid of console logging