Implement semicolon; No memory leaks