Added functions that return values