init protoype