added signals to markup.write