improved books*.php