made some functions