setting properties also for groovy object