cleaned up no longer used code