Logic is finished, need to comment this stuff.