First version implemented.