Logic added.