added last bookprototype code