better variable names, cleaned up console print