add functions for Sanchit to call