Added more convenient functions