Adds the necessary stuff