Working creation of prototoype object