change in BedMap class