first commit for edison code, some tests