testing on making object and its methods