add basic implementation fulfilling the basic API and returning mostly right values