changed parameters on room contructors