add inheritance, copy properties in prototype; use prototype directly