[2]part implement funcional logic;