delete functions-not worky with my setup