attempting to remove large block of method code