commited initial practical code