added a function, renamed floors in db-constants
added a function, renamed floors in db-constants