this one had wooden rails surrounding a small balcony , a retractable ladder , a window with a latch that he could open and close , and to his amazement , it was furnished with a small bed , an even smaller one for meelix , and a table and two chairs .