added variable bed