trying to push through but too tired.  Need serious thought on polymorphic functions