updated method names to keep up with brototype changes