control added , missing functions