added active property to books