added battery backup