What's wrong here I created two objects both types