First implementation of the ice cream version