add some missing functionality