Added functions

Added functions