Creation header function createPoint