constructor allow instanti configur factori 