creating an object and pass it two arguments