Changed back to work with PID