Fix Code, added fucntion