cleaned up book drop code