that terrible bug was not fixed last time. changed instanceof to duck typing
added operations to the exports