add logic code, and complier ok, but link 3 error