0031296: port basic functionality