added a bunch of declarations