all functionality working exc. read(), which has now to be added