darkscreen and reset implemented