example: changed for new constructor