Input from D0 implemented