* Made refactor rende procedures to specify dependencies instead of directly grabbing from state singleton