load method executed before reference switch