beginning of cakeMap