removed not working function