added condition reading and drawing