ready fuction map deleted