Added logic code and unites.