Seperatation of logic