added stage and loader