controller logic example implemented.