implemented first prototype.