added prepared refs