removed prototypes, initial django implementation