prototype inherit version 1