server-side stuff that doesn't really work