added dark variable