add prototypes & views