Added functions for all the various operations