commented out code that was causing error on view