cleaned up discuss code