more changes to declare http