wip: working on the pid problem