extract stage for easier editor interaction