adding obj main