A few new fucntions