Writing slow as hell. Attempting to optimize