formatting lib pages