change the bed into a table