updated for future request pages
added constructor and prototype add