Remove unnecessary intermediate step