put in some functions