figured out some http stuff