Added eq, parent and children functions