Made most of logic