add try except
add initial for darkness