removed wip function - no longer required