Added last function and removed semicolons