added controls, but real time is not possible