adding some missing  functionalities from earlier versions