Code developed for learning and current deployments