implement speedj and test it, some renaming