working out interfaces

Signed-off-by: AlexP <alex.prishchepov@yahoo.com>