constructor to privat