updated and added empty function.