Added logic type
Implementation of logic type