get rid of programmatic rest initialisation